package com.zyy.visitor.demo03;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/09 23:14
 */
public class Execute {
    public void execete(Animal a) {
        System.out.println("Animal");
    }
    public void execete(Cat a) {
        System.out.println("我是猫。。。");
    }
    public void execete(Dog a) {
        System.out.println("我是狗。。。");
    }
}
